package cn.rocky.pandacodegen.database.mysqlfolder;

import cn.rocky.pandacodegen.common.config.GeneratorConfig;
import cn.rocky.pandacodegen.service.SQLService;
import cn.rocky.pandacodegen.service.TableSelector;
import org.springframework.stereotype.Service;

@Service
public class MySqLServiceImpl implements SQLService {


    @Override
    public TableSelector getTableSelector(GeneratorConfig generatorConfig) {
        return new MySqlTableSelector(new MySqlColumnSelector(generatorConfig), generatorConfig);
    }
}
